<?php

namespace App\Models;

/**
 * App\Models\AuthWechat
 * This is the model class for table "auth_wechat".
 *
 * @property int $id 自增ID
 * @property string $user_id 用户ID
 * @property string $openid 微信授权后的openid
 * @property string $unionid 用户统一标识。针对一个微信开放平台帐号下的应用，同一用户的 unionid 是唯一的。
 * @property string $nickname 微信名称
 * @property int $gender 用户性别，1 为男性，2 为女性
 * @property string $avatar 用户头像，微信地址
 * @property string $local_avatar 用户头像，oss静态资源地址
 * @property int $is_deleted 用户是否取消绑定，0否1是
 * @property int $created_at 创建时间戳
 * @property int $updated_at 更新时间戳
 * @method static \Illuminate\Database\Eloquent\Builder|AuthWechat newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|AuthWechat newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|AuthWechat query()
 */
class AuthWechat extends BaseModel
{

    protected $table = "auth_wechat";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [];
    

}
